 out.println(" function hotel() { "); out.println("
document.forms[0].tipo.disabled = true; "); out.println("
document.forms[0].origen.disabled = true; "); out.println("
document.forms[0].estrellas.disabled = false; "); out.println(" } ");
out.println(" function transporte() { "); out.println("
document.forms[0].tipo.disabled = false; "); out.println("
document.forms[0].origen.disabled = false; "); out.println("
document.forms[0].estrellas.disabled = true; "); out.println(" } ");




out.println("
</script>
"); out.println("
</head>
"); out.println("
<body>
"); out.println("
<table width='100%' height='100%' cellpadding='50'>
	"); out.println("
	<tr>
		"); out.println("
		<td colspan='2'>
		<center>"); out.println(" <font size='+6' color='#6666aa'
			face='Verdana, Arial, Helvetica, sans-serif'>AndesTours</font> <br />
		"); out.println(" <font face='Verdana, Arial, Helvetica, sans-serif'>Su
		compa&ntilde;ero de viajes</font> "); out.println("</center>
		</td>
		"); out.println("
	</tr>
	"); out.println("
	<tr>
		"); out.println("
		<td width='35%' bgcolor='#6666aa' valign='baseline'>
		<center>"); out.println(" <font
			face='Verdana, Arial, Helvetica, sans-serif' color='#FF9966'><b>Administrador</b></font>
		<br />
		"); out.println(" <br />
		"); out.println(" <br />
		"); out.println(" <br />
		"); out.println(" <br />
		"); out.println("
		<form>"); out.println(" <font
			face='Verdana, Arial, Helvetica, sans-serif'> ");
		out.println(" Tabla: <select name='tabla'>
			"); out.println("
			<option value='1' onclick='javascript:hotel()'>HOTEL</option>
			"); out.println("
			<option value='2' onclick='javascript:transporte()'>TRANSPORTE</option>
			"); out.println("
		</select> "); out.println(" <br />
		<br />
		<table>
			<tr>
				<td>"); out.println(" C&oacute;digo
				<td><input type='text' name='codigo' size='2' maxlength='3' />
			<tr>
				<td>"); out.println(" Nombre
				<td><input type='text' name='nombre' maxlength='20' size='15' />
			<tr>
				<td>"); out.println(" Destino
				<td><select name='destino'>
					"); out.println("
					<option value=''>Nueva York</option>
					<!-- SQL darDestinos() -->
					"); out.println("
				</select>
			<tr>
				<td>"); out.println(" Costo
				<td><input type='text' name='costo' size='3' maxlength='4' />
			<tr>
				<td>"); out.println(" Capacidad
				<td><input type='text' name='capacidad' size='3' maxlength='4' />
			<tr>
				<td>"); out.println(" Estrellas
				<td><select name='estrellas'>
					"); out.println("
					<option>1</option>
					"); out.println("
					<option>2</option>
					"); out.println("
					<option>3</option>
					"); out.println("
					<option>4</option>
					"); out.println("
					<option>5</option>
					"); out.println("
				</select>
			<tr>
				<td>"); out.println(" Tipo
				<td><select name='tipo' disabled='disabled'>
					"); out.println("
					<option>aereo</option>
					"); out.println("
					<option>terrestre</option>
					"); out.println("
					<option>maritimpo</option>
					"); out.println("
				</select>
			<tr>
				<td>"); out.println(" Origen
				<td><input type='text' name='origen' maxlength='20' size='15'
					disabled='disabled' />
			<tr>
				<td>"); out.println("
		</table>
		<br />
		<br />
		"); out.println(" <input type='submit' value='Modificar / Agregar' />
		"); out.println(" </font> "); out.println("</form>
		"); out.println("</center>
		</td>
		"); out.println("
		<td valign='baseline'><font
			face='Courier New, Courier, monospace' size='1'> ");
		out.println("
		<table>
			<td>"); out.println("
			<table border>
				<thead>
					<center>"); out.println(" <font
						face='Verdana, Arial, Helvetica, sans-serif' size='2'>HOTEL</font>
					"); out.println("</center>
				</thead>
				"); out.println("
				<tr>
					"); out.println("
					<th>C&oacute;digo</th>
					"); out.println("
					<th>Nombre</th>
					"); out.println("
					<th>Destino</th>
					"); out.println("
					<th>Tipo</th>
					"); out.println("
					<th>Habitaciones</th>
					"); out.println("
					<th>Cupos</th>
					"); out.println("
					<th>Costo</th>
					"); out.println("
					<th>Reservas</th>
					"); out.println("
				</tr>
				"); out.println("
			</table>
			"); out.println("
			<td>&nbsp;&nbsp;
			<td><font face='Courier New, Courier, monospace' size='1'>
			"); out.println("
			<table border>
				<thead>
					<center>"); out.println(" <font
						face='Verdana, Arial, Helvetica, sans-serif' size='2'>RESTAURANTE</font>
					"); out.println("</center>
				</thead>
				"); out.println("
				<tr>
					"); out.println("
					<th>C&oacute;digo</th>
					"); out.println("
					<th>Nombre</th>
					"); out.println("
					<th>Puestos</th>
					"); out.println("
					<th>Cupos</th>
					"); out.println("
					<th>Tipo</th>
					"); out.println("
					<th>Costo</th>
					"); out.println("
					<th>Destino</th>
					"); out.println("
					<th>Origen</th>
					"); out.println("
					<th>Reservas</th>
					"); out.println("
				</tr>
				"); out.println("
			</table>
			"); out.println(" 
			</tr>
		</table>
		"); out.println("
		</center></td>
		"); out.println("
	</tr>
	"); out.println("
</table>
"); out.println("
</body>
"); out.println("
</html>
");
